import React, { Component } from 'react'
import { MYprops } from "../../../../types/child.d"
export default function Child(props: MYprops) {
    console.log(props);
    return (
        <div>
            <button onClick={() => props.setData()}>bkpp</button>
        </div>
    )
}